<?php

include_once "sc2dataManager.php";

ob_implicit_flush(true);
ob_end_flush();
echo '<link rel="stylesheet" type="text/css" href="memberlist.css" />';
echo "\n<pre>\n";

$date = date("Y-m-d H:i:s P\n");
echo "Starting time: $date\n";

$sc2 = new sc2dataManager();
$time = microtime(true);

// ¡Acción!
$sc2->update_profiles();

$time = microtime(true) - $time;
echo "Finished in $time seconds.\n";

echo "</pre>\n";
ob_implicit_flush(false);
ob_start();

?>